package com.nkzy.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by 王建烨 on 2022/3/23 9:34
 **/

@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/")
    public String getHello(){
        return "Hello Spring Boot!";
    }
}
